package com.atguigu.client.user;

import com.atguigu.yygh.model.user.Patient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author ybl
 * @version 1.9
 * @date 2021/5/23 20:15
 */
@Repository
@FeignClient(value = "service-user")
public interface PatientFeignClient {

  @GetMapping("/api/user/patient/inner/get/{id}")
  Patient getPatientOrder(@PathVariable Long id);
}
